﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ListPage.Master" AutoEventWireup="true"
    CodeBehind="List_Mine.aspx.cs" Inherits="IMIS_ERP.Web.Factory_People.List_Mine" %>

<%@ Register Src="../Controls/Pagination.ascx" TagName="Pagination" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="top">
        <div id="t_left">
            <img src="../images/tab_t_l.gif" />
            <span class="f1">您当前的位置</span>：【加工中心用户管理】-【用户列表】
        </div>
        <div id="t_right">
            <!-- <asp:CheckBox ID="ckbAll" runat="server" AutoPostBack="True" OnCheckedChanged="ckbAll_CheckedChanged" />全选
            <img src="../images/ico_add.gif" align="middle" />
             
            <a href="Add.aspx">新增</a>
            <img src="../images/ico_del.gif" align="middle" />
            <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click">删除</asp:LinkButton>
            -->
        </div>
    </div>
    <div id="middle">
        <div id="m_left">
        </div>
        <asp:GridView ID="GV" CssClass="GV" runat="server" CellPadding="3"
            AutoGenerateColumns="False" DataKeyNames="fpID" OnRowCreated="GV_RowCreated"
            OnRowDeleting="GV_RowDeleting">
            <Columns>
                <asp:BoundField DataField="fpID" HeaderText="用户编号" />
                <asp:BoundField DataField="fpFiID" HeaderText="加工中心ID" />
                <asp:BoundField DataField="fpType" HeaderText="类型" />
                <asp:BoundField DataField="fpName" HeaderText="姓名" />
                <asp:BoundField DataField="fpContacts" HeaderText="联系方式" />
                <asp:TemplateField HeaderText="基本操作" ItemStyle-CssClass="operate">
                    <ItemTemplate>
                        &nbsp; &nbsp;<img src="../images/ico_modify.gif" /><a href='<%# Eval("fpID", "Show_Mine.aspx?id={0}&t=1") %>'>详细</a>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle CssClass="gv_row" />
            <SelectedRowStyle CssClass="gv_sel" />
            <PagerStyle CssClass="gv_pag" />
            <HeaderStyle CssClass="gv_hea" />
            <AlternatingRowStyle CssClass="gv_alt" />
            <FooterStyle CssClass="gv_foo" />
        </asp:GridView>
        <div id="m_right">
        </div>
    </div>
    <div id="bottom">
        <div id="b_left">
            <span class="f2">&nbsp;&nbsp;共有
                <asp:Label ID="lblRecordCount" runat="server"></asp:Label>
                条记录，当前第
                <asp:Label ID="lblPageNow" runat="server"></asp:Label>/<asp:Label ID="lblPageCount"
                    runat="server"></asp:Label>
                页</span>
        </div>
        <div id="b_right">
            <uc1:Pagination ID="Pagination1" runat="server" />
        </div>
    </div>
    &nbsp; &nbsp;&nbsp; &nbsp;<asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label><br />
    <div class="query">
        <span class="f1">关键字：</span>
        <asp:DropDownList ID="ddlSearch" runat="server">
            <asp:ListItem Value="fpID">用户编号</asp:ListItem>
            <asp:ListItem Value="fpType">姓名</asp:ListItem>
        </asp:DropDownList>
        <asp:TextBox ID="txtSearch" name="txtSearch" runat="server"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click"></asp:Button>
        <asp:Button ID="btnCancel" runat="server" Text="清空" OnClick="btnCancel_Click" />
    </div>
</asp:Content>
